package com.tracesystem.service;

import com.tracesystem.commons.Result;
import com.tracesystem.controller.Info.AllPriorityPageInfo;
import com.tracesystem.controller.form.*;
import com.tracesystem.model.IssuePriority;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Kevin Martin
 * @since 2022-03-23
 */
public interface IssuePriorityService extends IService<IssuePriority> {

    //修改优先级分类
    public Result<?> updatePriorityDesc(RenewalPriorityDescForm renewalPriorityDescForm);
    //修改优先级状态
    public Result<?> updateModuleState(RenewalPriorityModuleStateForm renewalPriorityModuleStateForm);
    //根据模糊查询优先级分类
    public Result<AllPriorityPageInfo> findPagePriorityListByPriorityDesc(LikePriorityListForm likePriorityListForm);
    //查询所有缺陷优先级分类
    public Result<AllPriorityPageInfo> getAllPriorityList(FindAllPriorityListForm findAllPriorityListForm);

    //添加
    Result<?> insertPriority(AddPriorityForm addPriorityForm);

    //删除
    Result<?> delectPriority(RemovePriorityForm removePriorityForm);

    //批量删除
    Result<?> delectPriorityList(RemovePriorityListForm removePriorityListForm);
}
